/**
 * 筛选配置
 * 系统配置 system-config
 */
const selectConfig = {
  'system-config': [
    {
      type: 'select-input',
      name: '键',
      prop: 'label',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入键',
        iconConfig: {
          type: 'suffix',
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      name: '值',
      prop: 'value',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入值',
        iconConfig: {
          type: 'suffix',
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      name: '描述',
      prop: 'remark',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入描述',
        iconConfig: {
          type: 'suffix',
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-option',
      name: '是否支持修改',
      prop: 'isEdit',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.config.isEdit']
      },
      dataProp: {
        keyProp: 'grass-core.config.isEdit',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择'
      }
    }
  ]
}

export default {}
export { selectConfig }
